//
//  ServiceCompileViewController.h
//  HondaPro_2
//
//  Created by ht on 13-7-2.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NIDropDown.h"
#import "DDPopoverBackgroundView.h"
#import "popContentViewController.h"
@protocol ServiceCompileViewControllerDelegate;

@interface ServiceCompileViewController : UIViewController<NIDropDownDelegate,UIAlertViewDelegate,ContentViewControllerDelegate>
{
    UIAlertView *_alertView;
    NIDropDown *dropDown;
    NSString *paigong;
    NSMutableDictionary *_zJiaPgongDit;
    
    popContentViewController *contentCon;
}
@property(nonatomic,strong)UIPopoverController *popController;

@property(nonatomic,strong)UILabel *serviceNumber;
@property(nonatomic,strong)UIButton *beginTimeButton;
@property(nonatomic,strong)UILabel *realityEndTime;
@property(nonatomic,strong)UIButton *endTimeButton;
@property(nonatomic,strong)UILabel *realityBeginTime;
@property(nonatomic,strong)UIButton *workshopButton;
@property(nonatomic,strong)UIButton *stationButton;

@property(nonatomic,strong)UILabel *receiveLabel;
@property(nonatomic,strong)UILabel *comeTime;
@property(nonatomic,strong)UILabel *realityTaskTime;
@property(nonatomic,strong)UILabel *payCarTime;
@property(nonatomic,strong)UILabel *checkTaskTime;
@property(nonatomic,strong)UILabel *maintainTypeLabel;
@property(nonatomic,strong)UIButton *maintainTeacherButton;

@property(nonatomic,strong)UILabel *carPlateField;
@property(nonatomic,strong)UILabel *carFrameField;
@property(nonatomic,strong)UIDatePicker *datePicker;
@property(nonatomic,strong)UIViewController *popoverCtl;
//接收传进来的表单信息
@property(nonatomic,strong)NSMutableDictionary *receiveDit;

@property(nonatomic,strong)UIButton *determineButton;
//选择器
@property(nonatomic,strong)NSDate *yuyueDate;
//传数据到AssignedViewController
@property(nonatomic,assign)id<ServiceCompileViewControllerDelegate>delegate;
@property(nonatomic,strong)NSMutableArray *chuanTimeArray;
@property(nonatomic,strong)NSMutableDictionary *editDataDit;

@property(nonatomic,strong)UIPopoverController *popCon;
@property(nonatomic,strong)NSMutableArray *gChangXZ;
@property(nonatomic,strong)NSString *gChangNumber;

@property(nonatomic,strong)NSMutableArray *workStationArray;
@property(nonatomic,strong)NSString *workStationNameId;
@property(nonatomic,strong)NSString *workStationRow;

//维修师
@property(nonatomic,strong)NSMutableArray *repairPersonArray;
@property(nonatomic,strong)NSString *repairPersonId;

-(void)addNotification;
-(void)removeNotification;

@end

@protocol ServiceCompileViewControllerDelegate <NSObject>
-(void)passTime:(NSMutableDictionary *)aText;
-(void)cancelButtonClicked:(ServiceCompileViewController*)secondDetailViewController;

@end
